import OrderIndex from '@/components/order/index.vue'
import OrderInfo from '@/components/order/info.vue'

//路由列表
const list = [
    {
        path:'index',
        name:'OrderIndex',
        component:OrderIndex,
        meta:{IsLogin:true}
    },
    {
        path:'info',
        name:'OrderInfo',
        component:OrderInfo,
        meta:{IsLogin:true}
    },
    
]

//父级路由
const layout = {
    template:`<router-view></router-view>`
}

export default[{
    path:'/order',
    name:'order',
    component:layout,
    children:list
}]